package com.udaos.modules.field.services;

import java.util.List;

import org.nutz.aop.interceptor.ioc.TransAop;
import org.nutz.dao.Dao;
import org.nutz.ioc.aop.Aop;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.log.Log;
import org.nutz.log.Logs;

import com.udaos.common.base.Service;
import com.udaos.models.field.Ud_temp_field;

/**
 * 驾校场地临时数据Service
 * 
 * @author Administrator
 *
 */
@IocBean(args = { "refer:dao" })
public class UdTempFieldService extends Service<Ud_temp_field> {
	private static final Log log = Logs.get();
	
	public UdTempFieldService(Dao dao) {
		super(dao);
	}

	/**
	 * 批量插入数据
	 * @param list
	 */
	@Aop(TransAop.READ_COMMITTED)
	public void add(List<Ud_temp_field> list) {
		dao().insert(list);
	}

}
